#1
print(sum ([i for i in range(1,101)]))
#2
q=0
sum=0
while q<100:
    q=q+1
    sum=sum+q
print(sum)
#3
w=0
for r in range(1,101):
    w = w +r
print(w)